package com.hue.springcloud.service.impl;

import com.hue.springcloud.mapper.AccountMapper;
import com.hue.springcloud.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.math.BigDecimal;

@Service
public class AccountServiceImpl implements AccountService {
    @Autowired
    private AccountMapper accountMapper;

    @Override
    public void updateAccount(long userId, BigDecimal num) {
        accountMapper.updateAccount(userId,num);
    }
}
